<ol class="breadcrumb">
	<li><a href="{:U('site/index')}">首页</a></li>
	<li class="active">用户数据</li>
</ol>

<table class="table table-bordered">
  	<head>
  		<tr>
  			<th>用户</th>
  			<th>温度</th>
  			<th>湿度</th>
  			<th>灯的状态</th>
  			<th>更新时间</th>
  		</tr>
  	</head>
  	<tbody>
  		<foreach name="data" item="d">
  			<tr>
  				<td>{$d.user.nickname}</td>
  				<td>{$d.temperature} °C</td>
  				<td>{$d.humitity} %</td>
  				<td>{$d.light}</td>
  				<td>{$d.last_update}</td>
  			</tr>
  		</foreach>
  	</tbody>
</table>
